package com.mew.chess.core.game.pokdeng.game.message;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/**
 * @author dylin
 * @create 2021/5/13
 */
@Data
@ToString
public class PushOtherAskCardMessage extends ZebraBaseMessage<PushOtherAskCardMessage> {
    private int askCard;
    private CardMessage card;
    @Override
    public void write(ByteBuf b) {

        writeInt(b,askCard);
        card.write(b);
    }

    @Override
    public PushOtherAskCardMessage read(ByteBuf b) {
        return null;
    }
}
